import echarts from 'echarts';

export default class ECharts {
    static echarts = echarts;
    constructor(opt) {
        this._chart = echarts.init(opt.el);
    }
    setOption(option) {
        this._chart.setOption(option);
    }
}
